#ifndef EXPVIEW_H
#define EXPVIEW_H

#include"expense.h"
#include"exptoday.h"
#include"expcustom.h"
#include"expbycat.h"
//#include"expmonth.h"
#include"db_class.h"
#include <QMainWindow>
#include<QListWidgetItem>

namespace Ui {
    class ExpView;
}

class ExpView : public QMainWindow
{
    Q_OBJECT

public:
    explicit ExpView(QWidget *parent = 0);
    ~ExpView();

private:
    Ui::ExpView *ui;
    db_class db;
    QListWidgetItem *today;
    QListWidgetItem *monthly;
    QListWidgetItem *yearly;
    QListWidgetItem *custom;
    QListWidgetItem *cat;
    QListWidgetItem *acc;

private slots:

    void on_listWidget_itemActivated(QListWidgetItem* item);
    void back();
};

#endif // EXPVIEW_H
